
a{
    text-decoration: none;
    font-weight: bold;
    color: #31332f;
}

.record,hr{
    width: 60%;
    margin: 20px auto;
}
.head>p{
    text-align: center;
    font-size: 30px;
    padding: 0;
    margin: 0;
}
.message{
    border: 1px solid gray;
    box-shadow: 0 0 10px gray;
    width: 100%;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
}
.message_box1{
    border-bottom: gray solid 1px;
    display: flex;
    align-items: center;
    padding-left: 5%;
    height: 40%;
}
/*收入的背景颜色*/
.income{
    background-color: #D4E7B7FF;
}
/*支出的背景颜色*/
.expenditure{
    background-color: pink;
}
.type{
    padding: 2px;
    box-shadow: 0 0 3px gray;
    border-radius: 2px;
}
/*类型支出颜色*/
.type_expenditure{
    background-color: #E5A2DEFF;
}
/*类型收入颜色*/
.type_income{
    background-color: yellow;
}
.message_body{
    height: 60%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.button{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b37eb2;
    width: 50px;
    height: 20px;
    font-size: 15px;
    border: 1px solid gray;
    box-sizing: border-box;
    border-radius: 2px;
    transition: all 0.2s linear;
}
.button_create{
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #40aaad;
    width: 100px;
    height: 30px;
    font-size: 15px;
    border: 1px solid gray;
    box-sizing: border-box;
    border-radius: 4px;
    transition: all 0.2s linear;
}
.button:hover,.button_create:hover{
    transform: scale(1.1);
    background-color: black;
}
.button:hover a,.button_create:hover a{
    color: white;
}